// A 提交的代码
function find(target, list) {
  if (list.length === 0) {
    return false;//
  }

  let start = 0;
  let middle = Math.floor((start + end) / 2);
  let end = list.length - 1;
  let middleVal = Math.floor((start + end) / 2);
  while (end - start >= 0) {
    if (target > middleVal) {
      //...
    }
    if (target === middle) {
      //...
      return true

    }
  }
}



module.exports = {
  find
};
